using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System;

namespace OrderingSystem.Core.Entities
{
    [Table("config")]
    public class Config
    {
        [Key]
        public long id { get; set; }

        /// <summary>
        /// 配置参数名称
        /// </summary>
        [Required]
        public string name { get; set; }

        /// <summary>
        /// 配置参数值
        /// </summary>
        public string value { get; set; }
    }
} 